package com.swlz.dto;
/**
 * 修改表单用户数据模型
 * @author swlz
 *
 */

import com.alibaba.fastjson.annotation.JSONField;
import com.swlz.annotations.Id;
import com.swlz.annotations.Name;

public class UserUpdateDTO {
	/**
	 * <pre>用户编号 - USER_ID</pre>
	 **/
	@Id
	private Long userId;
	/**
	 * <pre>用户昵称 - USER_NICKNAME</pre>
	 **/
	private String userNickname;
	/**
	 * <pre>用户性别 - USER_SEX</pre>
	 **/
	private Boolean userSex;
	/**
	 * <pre>用户出生日期 - USER_BRITHDATE</pre>
	 **/
	@JSONField(format="yyyy-MM-dd")
	private java.util.Date userBrithdate;
	/**
	 * <pre>用户手机号码
	 *             根据业务唯一 - USER_PHONE</pre>
	 **/
	private String userPhone;
	/**
	 * <pre>用户邮箱
	 *             根据业务，唯一 - USER_EMAIL</pre>
	 **/
	private String userEmail;
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public String getUserNickname() {
		return userNickname;
	}
	public void setUserNickname(String userNickname) {
		this.userNickname = userNickname;
	}
	public Boolean getUserSex() {
		return userSex;
	}
	public void setUserSex(Boolean userSex) {
		this.userSex = userSex;
	}
	public java.util.Date getUserBrithdate() {
		return userBrithdate;
	}
	public void setUserBrithdate(java.util.Date userBrithdate) {
		this.userBrithdate = userBrithdate;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
	@Override
	public String toString() {
		return "UserUpdateDTO [userId=" + userId + ", userNickname=" + userNickname + ", userSex=" + userSex
				+ ", userBrithdate=" + userBrithdate + ", userPhone=" + userPhone + ", userEmail=" + userEmail + "]";
	}

}
